home *** CD-ROM | disk | FTP | other *** search
/ HPAVC / HPAVC CD-ROM.iso / ABUSESRC.ZIP / AbuseSrc / macabuse / inc / morpher.hpp < prev    next >
C/C++ Source or Header  |  1997-05-20  |  545b  |  28 lines

  1. #ifndef __MORPHER_HPP_
  2. #define __MORPHER_HPP_
  3. #include "supmorph.hpp"
  4. #include "config.hpp"
  5.  
  6. extern int morph_detail;
  7.  
  8. class view;
  9.  
  10. class game_object;
  11.  
  12. class morph_char
  13. {
  14.   long cx,dcx,cy,dcy;                   // center of gravity 
  15.   smorph_player *mor;
  16.   int end_type,fleft; 
  17. public :
  18.   morph_char(game_object *who, int to_type, void (*stat_fun)(int), int anneal, int frames);
  19.   void draw(game_object *who, view *v);
  20.   int frames_left() { return fleft; }
  21.   virtual ~morph_char() { if (mor) delete mor; }
  22. } ;
  23.  
  24.  
  25. #endif
  26.  
  27.  
  28.